home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Video Toaster 4.3
/
Video Toaster v4.3.iso
/
4.2
/
arexx
/
editor
/
import.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1998-04-16
|
1KB
|
49 lines
/* Import.rexx V2.0 -- Import Universal Graphics */
/* By Bob Caron © 1995 NewTek Inc. */
/* Hakuna Matata!!!!! */
OPTIONS RESULTS
call remlib('ToasterARexx.port')
call remlib('PROJECT_REXX_PORT')
call addlib('PROJECT_REXX_PORT' , 0)
call ADDLIB('ToasterARexx.port' , 0)
address command "C:assign hiip: toaster:programs/hiip_support"
call req_error("Import Universal V2.0 --- Load various file format images to DV1 using HIIP.")
rx startfilereq("Select Graphic To Display","","")
exit=1
do while exit=1
filename=queryfilereq()
if filename=0 then call quit
if filename~="" then exit=0
address command "c:wait 1"
end
call req_close()
call req_open("Processing... Please Wait.")
address command "C:gnusto "||'"'||filename||'"'||" T:temp image saver iff sy "||value(0)||" sx "||value(752)||" sn bestup"
Switcher(MDV1)
call req_close()
if ~exists("t:temp") then do
call req_tell("Error!"," I can't convert that.")
call quit
end
Switcher(LRGB,"t:temp",0)
call req_error("All done.")
call remlib('ToasterARexx.port')
call remlib('PROJECT_REXX_PORT')
exit
quit:
call req_error("Canceled.")
call remlib('ToasterARexx.port')
call remlib('PROJECT_REXX_PORT')
exit